

#ifndef SEARCH_IN_PANEL_H
#define SEARCH_IN_PANEL_H



#include <wx/panel.h>

class wxWindow;
class wxCheckBox;
class wxCommandEvent;


class SearchInPanel: public wxPanel {
public:



    SearchInPanel(wxWindow* parent, int id, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=0);


    bool GetSearchInOpenFiles()      const;
    bool GetSearchInSnippetFiles()   const;
    bool GetSearchInWorkspaceFiles() const;
    bool GetSearchInDirectory()      const;


    void SetSearchInOpenFiles     (bool bSearchInOpenFiles);
    void SetSearchInSnippetFiles  (bool bSearchInSnippetFiles);
    void SetSearchInWorkspaceFiles(bool bSearchInWorkspaceFiles);
    void SetSearchInDirectory     (bool bSearchInDirectory);

private:

    void set_properties();
    void do_layout();

protected:

    wxCheckBox* m_pChkSearchOpenFiles;
    wxCheckBox* m_pChkSearchSnippetFiles;

    wxCheckBox* m_pChkSearchDir;

    DECLARE_EVENT_TABLE();

public:

    void OnChkClickEvent(wxCommandEvent &event);





    void OnChkSearchSnippetFilesClick(wxCommandEvent &event);

    void OnChkSearchWorkspaceFilesClick(wxCommandEvent &event);
};

#endif
